package cn.ly817.jay.service;

import cn.ly817.jay.entity.Mission;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by LuoYu on 2016/12/7.
 */
public interface MissionService {
    int getUnhandledMissionNumByUserId(Long userId);

    List getUnhandledMissionListBypProcessorId(Long userId);

    List getFinishedMissionListBypProcessorId(Long id);

    Mission getMissionDetailById(Long id);

    long getMissionOriginatorById(long missionId);

    void updateStateById(long id, int dbState);
}
